import { getCurrentInstance } from 'vue'
function useInstance (target) {
  const Instance = getCurrentInstance();
  const Properties = Instance.appContext.config.globalProperties;
  return target ? Properties[target] : Properties
}

export {
  useInstance
}